{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fcharset0 Cambria;}{\f1\fswiss\fcharset0 Calibri;}}
{\colortbl ;\red0\green0\blue127;\red255\green0\blue0;\red255\green255\blue0;\red0\green0\blue0;\red192\green192\blue192;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\sa300\sl480\slmult1\kerning28\f0\fs44 Lecture note for Web Design Training Seminar\par
TRAINING GUIDE\kerning0\b\fs32\par
\pard\sa200\sl480\slmult1\f1\fs28 Definition of HTML\line\b0\fs22 HTML stands for \cf1\i\fs24 H\cf0\i0\fs22 yper\cf1\i\fs24 T\cf0\i0\fs22 ext \cf1\i\fs24 M\cf0\i0\fs22 arkup \cf1\i\fs24 L\cf0\i0\fs22 anguage. It is a subset of SGML (Standard General Markup Language) and is the language used to define the layout and attributes of a World Wide Web document as well as to create links between web documents (documents being text, sound, or graphics). HTML may appear intimidating at first, but once you begin to get the feel of it, there is little to be worried about. HTML is a combination of a number of codes made up of tags and attributes that make up the HTML documents and identify their characteristics.\b\fs28\par
\fs22 \fs28 HTML documents and HTML editors\line\fs22 \b0 Notepad, Any word processor package such as Microsoft Internet Assistant, and Dreamweaver. Some clients (browsers) require internet file names to have an ".html" extension (for DOS/Windows users, this is an ".htm" extension). Therefore, HTML documents are created with the ".html" naming convention.\b\fs28\par
Introduction to tags and tag structure\fs22 :\line\b0 Tags are used to define the structure of an HTML document, while some of them are used to contain references to other files (such as text, sound and video files). For example, if you want to include heading paragraph and a list to your document, you type all the text and apply the various appropriate tags. HTML tag syntax is as follows: ----text--- \'85\'85\'85\'85\'85\'85\'85Stands for a level 3 header. We have paired tags(Those that need to be closed after opening) and stand alone tags(Tags that do not need closing tags)\par
E.g. of paired tag :
\par
\b\fs28 Components of HTML code: \par
\b0\fs22 A typical HTML syntax is as follows:
,Type the text to be contained in a paragraph then, end the paragraph by typing
.\par \b\fs28 Inserting line breaks\line\b0\fs22 This can be done using the \cf2 this is \par
\par
an example \par
of a preformatted \par
text tag\cf0 \par
\i\fs20 And this is how it displays: \par
\cf2\i0\fs22 this is \par
\par
an example \par
of a preformatted \par
text tag \par
\pard\sa200\sl480\slmult1\cf0 Note, the empty spaces are not removed by the browser as it usually does.\par
\b\fs28 Font tags\b0\fs22\line This tag lets us set the following attributes to our text. The font type, color and size.\line e.g. Check me out \par
The browser output is: \cf2 Check me out\par
\cf0\b\fs28 Changing background color\b0\fs22\line This can be achieved by specifying the color attribute of the body tag. .\par
\b\fs28 List; ordered and unordered list\b0\fs22\line Sometimes, we need to display items in a web page in the form of a list. We can use various list tags to create ordered, unordered and definition list.\par
\b Ordered list s\b0 appears with a sequence of numbers and alphabets. The | Book name | \parAuthor | \parPrice | \par
|---|---|---|
| Chemistry textbook | \parAbabio | \par4000k | \par
| Purple Hibiscus | \parChimamanda | \par7000k | \par
| tag. \par e.g. | ||
| Chemistry textbook | \parAbabio | \par4000k | \par